package sdu.se;

public class Sample {
	public Test getSampleTest(){
		Question q[]=new Question[3];
		
		
		SingleChoiseQuestion s0=new SingleChoiseQuestion();
		s0.answerBodyText="qwer";
		s0.questionBodyText="Where is correct?";
		s0.choises=new String[5];
		s0.choises[0]="-";
		s0.choises[1]="-";
		s0.choises[2]="Correct";
		s0.choises[3]="-";
		s0.choises[4]="-";
		s0.correct=4;
		s0.choised=0;
		s0.type=QuestionType.SingleChoise;
		s0.marked=false;
		s0.anwered=false;
		
		SingleChoiseQuestion s1=new SingleChoiseQuestion();
		s1.answerBodyText="What qqqis 1";
		s1.questionBodyText="What is 1?";
		s1.choises=new String[5];
		s1.choises[0]="1";
		s1.choises[1]="2";
		s1.choises[2]="3";
		s1.choises[3]="4";
		s1.choises[4]="5";
		s1.correct=1;
		s1.choised=0;
		s1.type=QuestionType.SingleChoise;
		s1.marked=false;
		s1.anwered=false;
		
		SingleChoiseQuestion s2=new SingleChoiseQuestion();
		s2.answerBodyText="Questiowqwqwn 3 - cc";
		s2.questionBodyText="13 in hex?";
		s2.choises=new String[5];
		s2.choises[0]="A";
		s2.choises[1]="B";
		s2.choises[2]="C";
		s2.choises[3]="D";
		s2.choises[4]="E";
		s2.correct=8;
		s2.choised=0;
		s2.type=QuestionType.SingleChoise;
		s2.marked=false;
		s2.anwered=false;
		q[0]=s0;
		q[1]=s1;
		q[2]=s2;
		Test test=new Test(q);
		return test;
	}
}
